API Documentation
TestRunResult.h
1 // TestRunResult.h
3 //
5 
6 namespace nkDebug
7 {
11  class TestRunResult final
12  {
13  public :
14 
15  // Functions
16  // Constructors
26  TestRunResult (const nkMemory::StringView& rejectionReason) ;
32  TestRunResult (const TestRunException& exception) ;
33 
34  // Getters
46  bool getSuccess () const ;
47 
48  // Operators
56  } ;
57 }
nkDebug::TestRunResult::TestRunResult
TestRunResult(const nkMemory::StringView &rejectionReason)
nkMemory::BufferView
A view over data.
Definition: BufferView.h:18
nkDebug::TestRunResult::getRejectionReason
nkMemory::StringView getRejectionReason() const
nkDebug::TestRunResult::getRejectionStack
nkMemory::BufferView< TestStackLevel > getRejectionStack() const
nkDebug::TestRunResult::TestRunResult
TestRunResult(const TestRunException &exception)
nkDebug::TestRunException
An exception raised when a test fails during an execution.
Definition: TestRunException.h:12
nkDebug::TestRunResult
Holds informations about a test execution result.
Definition: TestRunResult.h:12
nkMemory::StringView
Class holding information about a string, with no ownership over the data.
Definition: StringView.h:22
nkDebug::TestRunResult::getSuccess
bool getSuccess() const
nkDebug::TestRunResult::operator=
TestRunResult & operator=(const TestRunException &exception)
nkDebug
Encompasses all API of component NilkinsDebug.
Definition: LogManager.h:7
nkDebug::TestRunResult::TestRunResult
TestRunResult()